﻿using IMU6DOFV2.Netduino;
using System;
using XBee.Communications;
namespace WayPointNavigator
{
    public class Me
    {
        #region Members
        private IMU6DOFv2 _imu; 
        #endregion

        #region Construcctor
        public Me(IMU6DOFv2 data)
        {
            _imu = data;
        } 
        #endregion

        #region Properties
        public bool IsMoving
        {
            get { return true; }
        }

        public GpsPoint Location
        {
            get { return new GpsPoint(_imu.Data.Latitude, _imu.Data.Longitude); }
        }

        public IMUData Data { get { return this._imu.Data; } }
        #endregion

        #region Methods
		public void Face(GpsPoint pt)
        {
            throw new NotImplementedException();
        }

        public bool IsFacing(GpsPoint pt)
        {
            throw new NotImplementedException();
        }

        public void MoveForward()
        {
            throw new NotImplementedException();
        }

        public void Stop()
        {
            throw new NotImplementedException();
        }
        #endregion    
    }
}